package com.xxx.modules.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * subject
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2023-04-29
 */
@Data
@TableName("subject")
public class Subject {

    /**
     * 主键id
     */
    
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	    /**
     * 专业
     */
    	private String subjectName;
	    /**
     * 备注
     */
    	private String remark;
	    /**
     * 所属院校
     */
    	private Integer collegeId;
		/**
	 * 所属院校
	 */
	@TableField(exist = false)
	private String collegeName;
}